package com.gilgamesh.im.common;

import java.util.concurrent.TimeUnit;

public class ServerBootConfiguration {

    /**
     * 服务端开放的监听端口的地址
     * The address of the open listening port of the server
     **/
    public static final Integer SERVERPORT = 12001;

    /**
    * 服务端线程池大小
    **/
    public static final Integer COREPOOLSIZE = 5;

    /**
    * 最大线程池大小
    **/
    public static final Integer MAXPOOLSIZE = 10;

    /**
    * 线程保活时间
    **/
    public static final Integer ALIVETIME = 100;

    /**
    * 线程池保活时间单位
    **/
    public static final TimeUnit TIMEUNIT = TimeUnit.SECONDS;

    /**
    * 线程池阻塞队列的大小
    **/
    public static final int MAXBLOCKINGQUEUESIZE = 5;


}
